1 2 3 4 5 6 7 8 9 10
<script> export async function load(ctx) { let id = ctx.page.params.id return { props: { id }} } import Author from '$components/author/author.svelte'; </script> <Author/>